using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace SimpleFactory.SimpleFactory
{
    [TestClass]
    public class FactoryClient
    {
        [TestMethod]
        public void Test()
        {
            Factory factory = new Factory();
            IProduct product = factory.Create();
            Assert.AreEqual<Type>(product.GetType(), typeof(ConcreteProductA));
        }
    }
}